Type bool now int

Type bool has been changed from char to int for compatibility with X V11.